package com.ruoyi.company.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 施工企业对象 house_company_t
 * 
 * @author ruoyi
 * @date 2023-05-23
 */
public class HouseCompanyT extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 施工企业id */
    private Long companyId;

    /** 施工企业名称 */
    @Excel(name = "施工企业名称")
    private String companyName;

    /** 用户昵称 */
    @Excel(name = "用户名称")
    private String nickName;
    /** 帐号状态（0正常 1停用） */
    @Excel(name = "帐号状态", readConverterExp = "0=正常,1=停用")
    private String status;
    /** 角色ID */
    private Long roleId;
    /** 用户账号 */
    @Excel(name = "登录名称")
    private String userName;

    /** 施工企业法人 */
    @Excel(name = "施工企业法人")
    private String companyer;

    /** 法人电话 */
    @Excel(name = "法人电话")
    private String companyTel;

    /** 开户银行 */
    @Excel(name = "开户银行")
    private String bankName;

    /** 银行银行账号 */
    @Excel(name = "银行银行账号")
    private String bankCode;

    /** 选取类型 OTHER001,1：比选确定 2：社会选聘 readConverterExp:导出可以赋值赋值*/
    @Excel(name = "选取类型",readConverterExp = "1=比选确定,2=社会选聘")
    private String companyType;

    /** 资质编号 */
    @Excel(name = "资质编号")
    private String companyNumber;

    /** 资质等级 */
    @Excel(name = "资质等级")
    private String companyLvl;

    /** 企业登录用户 */
    @Excel(name = "企业登录用户")
    private String userCode;

    /** 创建者 */
    @Excel(name = "创建者")
    private String creater;
    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

    public String getUserName() {
        return userName;
    }
    /** 密码 */
    private String password;

    public void setUserName(String userName) {
        this.userName = userName;
    }

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createDate;

    public void setCompanyId(Long companyId) 
    {
        this.companyId = companyId;
    }

    public Long getCompanyId()
    {
        return companyId;
    }
    public void setCompanyName(String companyName) 
    {
        this.companyName = companyName;
    }

    public String getCompanyName() 
    {
        return companyName;
    }
    public void setCompanyer(String companyer) 
    {
        this.companyer = companyer;
    }

    public String getCompanyer() 
    {
        return companyer;
    }
    public void setCompanyTel(String companyTel) 
    {
        this.companyTel = companyTel;
    }

    public String getCompanyTel() 
    {
        return companyTel;
    }
    public void setBankName(String bankName) 
    {
        this.bankName = bankName;
    }

    public String getBankName() 
    {
        return bankName;
    }
    public void setBankCode(String bankCode) 
    {
        this.bankCode = bankCode;
    }

    public String getBankCode() 
    {
        return bankCode;
    }
    public void setCompanyType(String companyType) 
    {
        this.companyType = companyType;
    }

    public String getCompanyType() 
    {
        return companyType;
    }
    public void setCompanyNumber(String companyNumber) 
    {
        this.companyNumber = companyNumber;
    }

    public String getCompanyNumber() 
    {
        return companyNumber;
    }
    public void setCompanyLvl(String companyLvl) 
    {
        this.companyLvl = companyLvl;
    }

    public String getCompanyLvl() 
    {
        return companyLvl;
    }
    public void setUserCode(String userCode) 
    {
        this.userCode = userCode;
    }

    public String getUserCode() 
    {
        return userCode;
    }
    public void setCreater(String creater) 
    {
        this.creater = creater;
    }

    public String getCreater() 
    {
        return creater;
    }
    public void setCreateDate(Date createDate) 
    {
        this.createDate = createDate;
    }

    public Date getCreateDate() 
    {
        return createDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("companyId", getCompanyId())
            .append("companyName", getCompanyName())
            .append("companyer", getCompanyer())
            .append("companyTel", getCompanyTel())
            .append("bankName", getBankName())
            .append("bankCode", getBankCode())
            .append("companyType", getCompanyType())
            .append("companyNumber", getCompanyNumber())
            .append("companyLvl", getCompanyLvl())
            .append("userCode", getUserCode())
            .append("remark", getRemark())
            .append("creater", getCreater())
            .append("createDate", getCreateDate())
            .toString();
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
